<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>新增配置</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">
</head>
<body>
     <div class="layui-container add-config">
        <form class="layui-form layui-clear" action="{:url('admin/config/add')}" method="post">
        	<div class="layui-form-item">
                <label class="layui-form-label">类型</label>
                <div class="layui-input-block">
                 	<select name="type">
						{volist name="type" id="item"}
						<option value="{$key}">{$item}</option>
						{/volist}
					</select>
                </div>
        	</div>
        	<div class="layui-form-item">
            	  <label class="layui-form-label">分组</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="groupName" data-set="groupName" type="text" />
            	  </div>
            </div>
            <div class="layui-form-item">
            	  <label class="layui-form-label">分组标题</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="group" data-set="group" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">变量名</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="name" data-set="name" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">变量标题</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="title" data-set="title" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">变量值</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="value" data-set="value" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">提示信息</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="tip" data-set="tip" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">校验规则</label>
            	  <div class="layui-input-block">
       				 <input class="layui-input" name="rule" data-set="rule" type="text" />
            	  </div>
            </div>
			<div class="layui-form-item">
            	  <label class="layui-form-label">扩展属性</label>
            	  <div class="layui-input-block">
       				  <textarea class="layui-textarea" name="extend" data-set="extend"></textarea>
            	  </div>
            </div>
            <div class="layui-form-item">
               	 <div class="layui-input-block">
                       <button class="layui-btn btn-green" id="save" lay-submit lay-filter="save">保 存 </button>
                       <button class="layui-btn layui-btn-primary" type="reset">重 置</button>
                  </div>
	        </div>
        </form>
    </div>  
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/admin/config.js"></script>
       

</body>
</html>           

